//Set directory to folder with data and .do files


do "Latino variable coding.do"

// Figure 1, Treatment Effects Probit
eststo clear

ologit willvote i.smalltreatment interest previousvote ib2.PID age income edu  woman employ imm if firsttime==1 & reject==0 & newwording==.  & speeder==0 
est store willvote
margins , over(r.smalltreatment ) at((mean)_all) expression(predict(outcome(#1))) saving(file1, replace)
margins , over(r.smalltreatment ) at((mean)_all) expression(predict(outcome(#2))) saving(file2, replace)
margins , over(r.smalltreatment ) at((mean)_all) expression(predict(outcome(#3))) saving(file3, replace)
margins , over(r.smalltreatment ) at((mean)_all) expression(predict(outcome(#4))) saving(file4, replace)
combomarginsplot file1 file2 file3 file4  ,   scheme(plottig)  recast(scatter) yline(0, lcolor(black)) title("Will Vote", bexpand nospan) ytitle("Treatment Effect") xtitle(" ") ///
xlabel(1 "Definitely Not" 2 "Probably Not" 3 "Probably Will" 4 "Definitely Will", angle(45) ) name(WillvoteTreatment, replace)


ologit voteethusiasm i.smalltreatment interest previousvote ib2.PID age income edu  woman employ imm if firsttime==1 & reject==0 & newwording==.  & speeder==0 
est store voteethusiasm
margins , over(r.smalltreatment ) at((mean)_all) expression(predict(outcome(#1))) saving(file1, replace)
margins , over(r.smalltreatment ) at((mean)_all) expression(predict(outcome(#2))) saving(file2, replace)
margins , over(r.smalltreatment ) at((mean)_all) expression(predict(outcome(#3))) saving(file3, replace)
combomarginsplot file1 file2 file3   ,   scheme(plottig)  recast(scatter) yline(0, lcolor(black)) title("Enthusiasm to Vote", bexpand nospan) ytitle("Treatment Effect") xtitle(" ") ///
xlabel(1 "Not" 2 "     Somewhat" 3 "Very" , angle(45) )  name(EnthusiasmTreatment, replace)

reg politicalaction i.smalltreatment interest previousvote ib2.PID age income edu  woman employ imm if firsttime==1 & reject==0 & newwording==.  & speeder==0 
est store politicalaction
margins , over(r.smalltreatment ) at((mean)_all)
marginsplot, scheme(plottig)   yline(0, lcolor(black)) title("Political Actions", bexpand nospan) ytitle("Treatment Effect") xtitle(" ") ///
xlabel(1 "                    " , angle(45) )   name(PoliticalactionsTreatment, replace)
 
gr combine WillvoteTreatment  EnthusiasmTreatment  PoliticalactionsTreatment , scheme(plottig)    xsize(8) ysize(4) col(3)
graph save "Figure 1 - Treatment Effects Probit.gph", replace
graph export "Figure 1 - Treatment Effects Probit.pdf", as(pdf) replace


esttab willvote voteethusiasm politicalaction using Table1Probit.rtf , replace se ar2 pr2 b(a2) compress modelwidth(8) ///
 nobaselevels label title(Ordered Logit and OLS Models used in Figure 2)   nonumbers mtitles("Will Vote" "Vote Enthusiasm" "Political Actions") ///
  rename (1.smalltreatment Treatment ethID LatinoID   1.smalltreatment#c.ethID ///
 Treatment*LID  interest Interest previousvote  2018Turnout 1.PID Rep 3.PID Dem age Age income_new Income edu Education ///
 woman Woman employed Employed imm Immigrant) 
 

esttab willvote voteethusiasm politicalaction using Table1Probit.tex, replace se ar2 pr2 b(a2) compress modelwidth(8) ///
 nobaselevels label title(Ordered Logit and OLS Models used in Figure 2)   nonumbers mtitles("Will Vote" "Vote Enthusiasm" "Political Actions") ///
  rename (1.smalltreatment Treatment ethID LatinoID   1.smalltreatment#c.ethID ///
 Treatment*LID  interest Interest previousvote  2018Turnout 1.PID Rep 3.PID Dem age Age income_new Income edu Education ///
 woman Woman employed Employed imm Immigrant) 
 

 
//Figure 2, Conditional on Latino identity

reg willvote i.smalltreatment##c.ethID interest previousvote i.ib2.PID age income edu  woman employ imm  if firsttime==1 & reject==0 & newwording==. & speeder==0 
est store willvote
margins,  at( ethID=(0(1) 10) smalltreatment= (0 1))
marginsplot,   recast(line) noci  legend(off) title("Will Vote", bexpand nospan) ytitle("Will Vote") xtitle("Latino Identity") scheme(plottig)
gr_edit plotregion1.plot1.style.editstyle line(pattern(shortdash)) editcopy
graph save "Figure 2 - Vote and ID.gph", replace

margins, over(r.smalltreatment ) at((mean)_all ethID=(0(1) 10))
marginsplot, recast(line) recastci(rarea) scheme(plottig) legend(off) title("Will Vote - Treatment Effects", bexpand nospan) ytitle("Will Vote", height(-3)) xtitle("Latino Identity")  yline(0, lcolor(black))
gr_edit plotregion1.plot1.style.editstyle area(linestyle(color("%40"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(color("%40"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(intensity(40))) editcopy
gr_edit  plotregion1.plot2.style.editstyle line(color(maroon)) editcopy
graph save "Figure 2 - Vote and ID, Treat.gph", replace

reg voteethusiasm i.smalltreatment##c.ethID  interest previousvote i.ib2.PID age income edu  woman employ imm  if firsttime==1 & reject==0 & newwording==. & speeder==0 
est store voteethusiasm
margins,  at( ethID=(0(1) 10) smalltreatment= (0 1))
marginsplot,   recast(line) noci scheme(plottig) legend(off) title("Vote Enthusiasm", bexpand nospan) ytitle("Vote Enthusiasm") xtitle("Latino Identity") 
gr_edit plotregion1.plot1.style.editstyle line(pattern(shortdash)) editcopy
graph save "Figure 2 - Enthusiasm and ID.gph", replace

margins, over(r.smalltreatment ) at((mean)_all ethID=(0(1) 10))
marginsplot, recast(line) recastci(rarea) scheme(plottig) legend(off) title("Vote Enthusiasm - Treatment Effects", bexpand nospan) ytitle("Vote Enthusiasm") xtitle("Latino Identity")  yline(0, lcolor(black))
gr_edit plotregion1.plot1.style.editstyle area(linestyle(color("%40"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(color("%40"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(intensity(40))) editcopy
gr_edit  plotregion1.plot2.style.editstyle line(color(maroon)) editcopy
graph save "Figure 2 - Enthusiasm and ID Treat.gph", replace

reg politicalaction i.smalltreatment##c.ethID  interest previousvote i.ib2.PID age income edu  woman employ imm  if firsttime==1 & reject==0 & newwording==. & speeder==0 
est store politicalaction
margins,  at( ethID=(0(1) 10) smalltreatment= (0 1))
marginsplot,   recast(line) noci scheme(plottig) legend(off) title("Political Actions", bexpand nospan) ytitle("Political Actions") xtitle("Latino Identity") 
gr_edit plotregion1.plot1.style.editstyle line(pattern(shortdash)) editcopy
graph save "Figure 2 - Action and ID.gph", replace

margins, over(r.smalltreatment ) at((mean)_all ethID=(0(1) 10))
marginsplot, recast(line) recastci(rarea) scheme(plottig) legend(off) title("Political Actions - Treatment Effects", bexpand nospan) ytitle("Political Actions") xtitle("Latino Identity")  yline(0, lcolor(black))
gr_edit plotregion1.plot1.style.editstyle area(linestyle(color("%40"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(color("%40"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(intensity(40))) editcopy
gr_edit  plotregion1.plot2.style.editstyle line(color(maroon)) editcopy
graph save "Figure 2 - Action and ID Treat.gph", replace


grc1leg "Figure 2 - Vote and ID.gph" "Figure 2 - Vote and ID, Treat.gph" ///
"Figure 2 - Enthusiasm and ID.gph" "Figure 2 - Enthusiasm and ID Treat.gph" /// 
"Figure 2 - Action and ID.gph" "Figure 2 - Action and ID Treat.gph" ///
, row(3)  scheme(plottig) commonscheme name(VoteLatinoID, replace)
graph display VoteLatinoID, xsize(6) ysize(8)
gr_edit legend.Edit , style(cols(2)) style(rows(0)) keepstyles 
gr_edit legend.plotregion1.label[1].text = {}
gr_edit legend.plotregion1.label[1].text.Arrpush Control
gr_edit legend.plotregion1.label[2].text = {}
gr_edit legend.plotregion1.label[2].text.Arrpush Treatment
gr_edit legend.plotregion1.DragBy 3.603603603603604 -20.72072072072071
gr_edit legend.plotregion1.label[1].style.editstyle size(vsmall) editcopy
gr_edit legend.plotregion1.label[2].style.editstyle size(vsmall) editcopy
graph save "Figure 2.gph", replace
graph export "Figure 2.pdf", as(pdf) replace


esttab willvote voteethusiasm politicalaction using Table2.rtf , replace se r2 ar2  b(a2) compress modelwidth(8) ///
 nobaselevels label title(Latino Identity Interaction)   nonumbers mtitles("Will Vote" "Vote Enthusiasm" "Political Actions") ///
 addnote("Note: OLS Models used in Figure 2")  rename (1.smalltreatment Treatment ethID LatinoID   1.smalltreatment#c.ethID Treatment*LID  interest Interest previousvote ///
 2018Turnout 1.PID Rep 3.PID Dem age Age income_new Income edu Education woman Woman employed Employed imm Immigrant) 

esttab willvote voteethusiasm politicalaction using Table2.tex, replace se r2 ar2  b(a2) compress modelwidth(8) ///
 nobaselevels label title(Latino Identity Interaction)   nonumbers mtitles("Will Vote" "Vote Enthusiasm" "Political Actions") ///
 addnote("Note: OLS Models used in Figure 2")  rename (1.smalltreatment Treatment ethID LatinoID   1.smalltreatment#c.ethID Treatment*LID  interest Interest previousvote ///
 2018Turnout 1.PID Rep 3.PID Dem age Age income_new Income edu Education woman Woman employed Employed imm Immigrant) 

 
 
 
//Figure 3, Three-way interaction with Interest in Politics and Prior Mid-term Turnout
reg willvote i.smalltreatment##c.ethID##c.interest   i.ib2.PID age income edu  woman employ imm  if firsttime==1 & reject==0 & newwording==. & speeder==0
est store willvoteinterest 
margins, over(r.smalltreatment ) at((mean)_all ethID=(0(1) 10)  interest =(0 10))
marginsplot, recast(line) recastci(rarea) scheme(plottig) legend(pos(6) size(small) row(1) ) title("Will Vote - Interest", bexpand nospan) ///
ytitle("Treatment Effect", height(-5)) xtitle("Latino Identity") graphregion(color(white) )  xsize(5) ysize(5) yline(0,  lcolor(black))
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(color(maroon))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(linestyle(color(maroon))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(linestyle(color("%50"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(color("%50"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(intensity(50))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(linestyle(color("%70"))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(shadestyle(color("%70"))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(shadestyle(intensity(70))) editcopy
gr_edit plotregion1.plot4.style.editstyle line(width(medium)) editcopy
gr_edit plotregion1.plot4.style.editstyle line(color(black)) editcopy
gr_edit plotregion1.plot4.style.editstyle line(pattern(shortdash)) editcopy
gr_edit legend.plotregion1.label[1].text = {}
gr_edit legend.plotregion1.label[1].text.Arrpush Low Interest
gr_edit legend.plotregion1.label[2].text = {}
gr_edit legend.plotregion1.label[2].text.Arrpush High Interest
graph save "Figure 3 - Vote and Interest Treat.gph", replace


reg voteethusiasm i.smalltreatment##c.ethID##c.interest  i.ib2.PID age income edu  woman employ imm  if firsttime==1 & reject==0 & newwording==. & speeder==0
est store voteethusiasminterest 
margins, over(r.smalltreatment ) at((mean)_all ethID=(0(1) 10)  interest =(0 10))
marginsplot, recast(line) recastci(rarea) scheme(plottig) legend(pos(6) size(small) row(1) ) title("Vote Enthusiasm - Interest", bexpand nospan) ///
ytitle("Treatment Effect",height(-3)) xtitle("Latino Identity")  graphregion(color(white) )  xsize(5) ysize(5)  yline(0,  lcolor(black))
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(color(maroon))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(linestyle(color(maroon))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(linestyle(color("%50"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(color("%50"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(intensity(50))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(linestyle(color("%70"))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(shadestyle(color("%70"))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(shadestyle(intensity(70))) editcopy
gr_edit plotregion1.plot4.style.editstyle line(width(medium)) editcopy
gr_edit plotregion1.plot4.style.editstyle line(color(black)) editcopy
gr_edit plotregion1.plot4.style.editstyle line(pattern(shortdash)) editcopy
gr_edit legend.plotregion1.label[1].text = {}
gr_edit legend.plotregion1.label[1].text.Arrpush Low Interest
gr_edit legend.plotregion1.label[2].text = {}
gr_edit legend.plotregion1.label[2].text.Arrpush High Interest
graph save "Figure 3 - Enthus and Interest Treat.gph", replace


reg politicalaction i.smalltreatment##c.ethID##c.interest  i.ib2.PID age income edu  woman employ imm  if firsttime==1 & reject==0 & newwording==. & speeder==0
est store politicalactioninterest 
margins, over(r.smalltreatment ) at((mean)_all ethID=(0(1) 10)  interest =(0 10))
marginsplot, recast(line) recastci(rarea) scheme(plottig) legend(pos(6) size(small) row(1) ) title("Political Actions - Interest", bexpand nospan) ///
ytitle("Treatment Effect") xtitle("Latino Identity")  graphregion(color(white) )  xsize(5) ysize(5)  yline(0,  lcolor(black))
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(color(maroon))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(linestyle(color(maroon))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(linestyle(color("%50"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(color("%50"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(intensity(50))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(linestyle(color("%70"))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(shadestyle(color("%70"))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(shadestyle(intensity(70))) editcopy
gr_edit plotregion1.plot4.style.editstyle line(width(medium)) editcopy
gr_edit plotregion1.plot4.style.editstyle line(color(black)) editcopy
gr_edit plotregion1.plot4.style.editstyle line(pattern(shortdash)) editcopy
gr_edit legend.plotregion1.label[1].text = {}
gr_edit legend.plotregion1.label[1].text.Arrpush Low Interest
gr_edit legend.plotregion1.label[2].text = {}
gr_edit legend.plotregion1.label[2].text.Arrpush High Interest
graph save "Figure 3 - Action and Interest Treat.gph", replace


//previousvote interaction
reg willvote i.smalltreatment##c.ethID##c.previousvote i.ib2.PID  age income edu  woman employ imm  if firsttime==1 & reject==0 & newwording==. & speeder==0
est store willvotepreviousvote 
margins, over(r.smalltreatment ) at((mean)_all ethID=(0(1) 10)  previousvote =(0 1))
marginsplot, recast(line) recastci(rarea) scheme(plottig) legend(pos(6) size(small) row(1) ) title("Will Vote - Previous Turnout", bexpand nospan) ///
ytitle("Treatment Effect") xtitle("Latino Identity") graphregion(color(white) )  xsize(5) ysize(5)  yline(0,  lcolor(black))
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(color(maroon))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(linestyle(color(maroon))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(linestyle(color("%50"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(color("%50"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(intensity(50))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(linestyle(color("%70"))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(shadestyle(color("%70"))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(shadestyle(intensity(70))) editcopy
gr_edit plotregion1.plot4.style.editstyle line(width(medium)) editcopy
gr_edit plotregion1.plot4.style.editstyle line(color(black)) editcopy
gr_edit plotregion1.plot4.style.editstyle line(pattern(shortdash)) editcopy
gr_edit legend.plotregion1.label[1].text = {}
gr_edit legend.plotregion1.label[1].text.Arrpush Midterm Non-Voter
gr_edit legend.plotregion1.label[2].text = {}
gr_edit legend.plotregion1.label[2].text.Arrpush Midterm Voter
graph save "Figure 3 - Vote and Turnout Treat.gph", replace

reg voteethusiasm i.smalltreatment##c.ethID##c.previousvote  i.ib2.PID  age income edu  woman employ imm  if firsttime==1 & reject==0 & newwording==. & speeder==0
est store voteethusiasmpreviousvote 
margins, over(r.smalltreatment ) at((mean)_all ethID=(0(1) 10)  previousvote =(0 1))
marginsplot, recast(line) recastci(rarea) scheme(plottig) legend(pos(6) size(small) row(1) )  title("Vote Enthusiasm - Previous Turnout", bexpand nospan) ///
ytitle("Treatment Effect",height(-3)) xtitle("Latino Identity")  graphregion(color(white) )  xsize(5) ysize(5)  yline(0,  lcolor(black))
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(color(maroon))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(linestyle(color(maroon))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(linestyle(color("%50"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(color("%50"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(intensity(50))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(linestyle(color("%70"))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(shadestyle(color("%70"))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(shadestyle(intensity(70))) editcopy
gr_edit plotregion1.plot4.style.editstyle line(width(medium)) editcopy
gr_edit plotregion1.plot4.style.editstyle line(color(black)) editcopy
gr_edit plotregion1.plot4.style.editstyle line(pattern(shortdash)) editcopy
gr_edit legend.plotregion1.label[1].text = {}
gr_edit legend.plotregion1.label[1].text.Arrpush Midterm Non-Voter
gr_edit legend.plotregion1.label[2].text = {}
gr_edit legend.plotregion1.label[2].text.Arrpush Midterm Voter
graph save "Figure 3 - Enthus and Turnout Treat.gph", replace

reg politicalaction i.smalltreatment##c.ethID##c.previousvote  i.ib2.PID  age income edu  woman employ imm  if firsttime==1 & reject==0 & newwording==. & speeder==0
est store politicalactionpreviousvote 
margins, over(r.smalltreatment ) at((mean)_all ethID=(0(1) 10)  previousvote =(0 1))
marginsplot, recast(line) recastci(rarea) scheme(plottig) legend(pos(6) size(small) row(1) )  title("Political Actions - Previous Turnout", bexpand nospan) ///
ytitle("Treatment Effect") xtitle("Latino Identity")  graphregion(color(white) )  xsize(5) ysize(5)  yline(0,  lcolor(black))
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(color(maroon))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(linestyle(color(maroon))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(linestyle(color("%50"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(color("%50"))) editcopy
gr_edit plotregion1.plot1.style.editstyle area(shadestyle(intensity(50))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(linestyle(color("%70"))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(shadestyle(color("%70"))) editcopy
gr_edit plotregion1.plot2.style.editstyle area(shadestyle(intensity(70))) editcopy
gr_edit plotregion1.plot4.style.editstyle line(width(medium)) editcopy
gr_edit plotregion1.plot4.style.editstyle line(color(black)) editcopy
gr_edit plotregion1.plot4.style.editstyle line(pattern(shortdash)) editcopy
gr_edit legend.plotregion1.label[1].text = {}
gr_edit legend.plotregion1.label[1].text.Arrpush Midterm Non-Voter
gr_edit legend.plotregion1.label[2].text = {}
gr_edit legend.plotregion1.label[2].text.Arrpush Midterm Voter
graph save "Figure 3 - Actions and Turnout.gph", replace


graph combine "Figure 3 - Vote and Interest Treat.gph" "Figure 3 - Vote and Turnout Treat.gph"  ///
"Figure 3 - Enthus and Interest Treat.gph"  "Figure 3 - Enthus and Turnout Treat.gph"  ///
"Figure 3 - Action and Interest Treat.gph" "Figure 3 - Actions and Turnout.gph" ///
, row(3)  scheme(plottig) commonscheme name(VoteLatinoID, replace) 
graph display VoteLatinoID, xsize(6) ysize(8)
graph save "Figure 3.gph", replace
graph export "Figure 3.pdf", as(pdf) replace



esttab willvoteinterest voteethusiasminterest politicalactioninterest willvotepreviousvote voteethusiasmpreviousvote  politicalactionpreviousvote using Table3.rtf, replace se r2 ar2  b(a2) compress modelwidth(8) ///
 nobaselevels label title(Interest and Previous Turnout Interactions)   nonumbers  mtitles("\shortstack{Will Vote\\Interest}" "\shortstack{Vote Enthusiasm\\Interest}"  "\shortstack{Actions\\Interest}" ///
"\shortstack{Will Vote\\Turnout}" "\shortstack{Enthusiasm\\Turnout}"  "\shortstack{Actions\\Turnout}" ) ///
 addnote("Note: OLS Models used in Figure 3") rename (1.smalltreatment Treatment ethID LatinoID   1.smalltreatment#c.ethID Treatment*LID ///
 1.smalltreatment#c.interest Treatment*Interest c.ethID#c.interest LID*Interest 1.smalltreatment#c.ethID#c.interest Treatment*Interest*LID ///
  1.smalltreatment#c.previousvote Treatment*PrevTurnout c.ethID#c.previousvote LID*PrevTurnout 1.smalltreatment#c.ethID#c.previousvote Treatment*PrevTurnout*LID ///
 interest Interest previousvote PrevTurnout 1.PID Rep 3.PID Dem age Age income_new Income edu Education woman Woman ///
 employed Employed imm Immigrant) ///
 order(Treatment LatinoID  Treatment*LID ///
Interest Treatment*Interest  LID*Interest Treatment*Interest*LID ///
PrevTurnout Treatment*PrevTurnout  LID*PrevTurnout Treatment*PrevTurnout*LID)

esttab willvoteinterest voteethusiasminterest politicalactioninterest willvotepreviousvote voteethusiasmpreviousvote  politicalactionpreviousvote using Table3.tex, replace se r2 ar2  b(a2) compress modelwidth(8) ///
 nobaselevels label title(Interest and Previous Turnout Interactions)   nonumbers  mtitles("\shortstack{Will Vote\\Interest}" "\shortstack{Vote Enthusiasm\\Interest}"  "\shortstack{Actions\\Interest}" ///
"\shortstack{Will Vote\\Turnout}" "\shortstack{Enthusiasm\\Turnout}"  "\shortstack{Actions\\Turnout}" ) ///
 addnote("Note: OLS Models used in Figure 3") rename (1.smalltreatment Treatment ethID LatinoID   1.smalltreatment#c.ethID Treatment*LID ///
 1.smalltreatment#c.interest Treatment*Interest c.ethID#c.interest LID*Interest 1.smalltreatment#c.ethID#c.interest Treatment*Interest*LID ///
  1.smalltreatment#c.previousvote Treatment*PrevTurnout c.ethID#c.previousvote LID*PrevTurnout 1.smalltreatment#c.ethID#c.previousvote Treatment*PrevTurnout*LID ///
 interest Interest previousvote PrevTurnout 1.PID Rep 3.PID Dem age Age income_new Income edu Education woman Woman ///
 employed Employed imm Immigrant) ///
 order(Treatment LatinoID  Treatment*LID ///
Interest Treatment*Interest  LID*Interest Treatment*Interest*LID ///
PrevTurnout Treatment*PrevTurnout  LID*PrevTurnout Treatment*PrevTurnout*LID)

